import request from '@/utils/request'

// 获取出勤率统计数据
export function getAttendanceStatistics(courseManageId) {
  return request({
    url: '/sign/statistics',
    method: 'get',
    params: { courseManageId }
  })
}

// 获取作业统计数据
export function getAssignmentStatistics(courseManageId) {
  return request({
    url: '/teacher/statistics/assignment',
    method: 'get',
    params: { courseManageId }
  })
} 